package ${cfg.baseServicePackage};


import com.mryt.dt.base.Page;
import com.mryt.dt.base.PageReq;
import com.mryt.api.domain.ApiResult;
import ${cfg.baseDbBeanPackage}.domain.${table.beanName};
import java.util.List;


public interface ${table.beanName}Service{

    ApiResult save(${table.beanName} entity);

    ApiResult enable(int id,int status);

    ${table.beanName} getById(int id);

    List<${table.beanName}> findAll();

    Page<${table.beanName}> page(PageReq<${table.beanName}> entity);

}
